import * as echarts from "echarts/core"

import {
    TitleComponent,
    TooltipComponent,
    GridComponent,
    DatasetComponent,
    TransformComponent,
    LegendComponent
} from "echarts/components"

import {LabelLayout, UniversalTransition} from "echarts/features"

import {CanvasRenderer, SVGRenderer} from "echarts/renderers"


echarts.use([
    TitleComponent,
    TooltipComponent,
    GridComponent,
    DatasetComponent,
    TransformComponent,
    LegendComponent,
    LabelLayout,
    UniversalTransition,
    CanvasRenderer,
    SVGRenderer
])

export default echarts;